package com.tx.admin.detailmodehead.service;

import com.mybatisflex.core.service.IService;
import com.tx.admin.detailmodehead.pojo.po.DetailModeHead;
import com.tx.core.common.entity.SelectIdsDTO;
import com.tx.core.common.entity.PageResult;
import java.util.List;
import com.tx.admin.detailmodehead.pojo.dto.DetailModeHeadCreateDTO;
import com.tx.admin.detailmodehead.pojo.dto.DetailModeHeadUpdateDTO;
import com.tx.admin.detailmodehead.pojo.dto.DetailModeHeadListDTO;
import com.tx.admin.detailmodehead.pojo.vo.DetailModeHeadVO;
import com.tx.core.common.entity.ImportExcelDTO;
import jakarta.servlet.http.HttpServletResponse;

/**
 * <p>
 * 详情页模板头部 Service
 * </p>
 *
 * @author sz-admin
 * @since 2025-08-05
 */
public interface DetailModeHeadService extends IService<DetailModeHead> {

    void create(DetailModeHeadCreateDTO dto);

    void update(DetailModeHeadUpdateDTO dto);

    PageResult<DetailModeHeadVO> page(DetailModeHeadListDTO dto);

    List<DetailModeHeadVO> list(DetailModeHeadListDTO dto);

    void remove(SelectIdsDTO dto);

    DetailModeHeadVO detail(Object id);

    void importExcel(ImportExcelDTO dto);

    void exportExcel(DetailModeHeadListDTO dto, HttpServletResponse response);
}